<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
    <script>
    let arr=[12,5,8];
    let arr2=[...arr, ...arr];

    alert(arr2);
    </script>
  </head>
  <body>

  </body>
</html>
